<include file="Public:head" />
<link href="__PUBLIC__/default/css/home.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/default/css/cityguide_index.css" rel="stylesheet" type="text/css" />
<div id="main">
    <div class="mian-right">
        <div class="conter-right">
        <div class="advertisement">
        	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="237" height="200">
              <param name="movie" value="/Public/img/group.swf" />
              <param name="quality" value="high" />
              <embed src="/Public/img/group.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="237" height="200"></embed>
      	  </object>
          </div>
          <div class="conter-group">
                <div class="group">
                    Featured Groups
                </div>
<if condition="$group">
	<volist name="group" id="g">
               <dl class="group-x">
				<dt><a href="__APP__/grps/{$g['id']}/{$g['groupname']|str_to_url}.html"><img src="{$g['pic']|toImg=group}" alt="{$g['groupname']}" /></a></dt>
				<dd>
					<h5><a href="__APP__/grps/{$g['id']}/{$g['groupname']|str_to_url}.html" title="{$g['groupname']}">{$g['groupname']}</a></h5>
					<p>Member:{$g['membernum']}<br/>Topic:{$g['threadnum']}</p>
				</dd>
			</dl>
	</volist>
</if>
          </div>
            <div class="main-group m10">
        	{$ad['right']}
            </div>
      </div>
  <div class="mian-center-n">
            <div class="jianbian">
                <a href="/index<if condition="$cid">/{$cid}</if>.html">Home</a>
                > <a href="__APP__/cityguide/{$cid}.html">{$cityname}{$info['typename']}</a>
            </div>
            <div class="personals">
            	<h1>{$cityname}{$info['typename']}</h1>
                <div class="ctgl">
                    <php>
                        $i=0;
                        foreach($ctls as $k=>$v){
                        	if($v<5){
                                $i++;
                                echo "<h3>[<a href=\"".__APP__."/cityguide/".$k.".html\" title='$k City Guide'>".ucwords($k)."</a>]</h3>";
                                if($i=='5'||$i=='7'){
                                    echo "<br />";
                                }
                            }
                        }
                     </php>
                 </div>
             </div>
            {$ad['banner']['0']}
            <if condition="$list">
                <volist name="list" id="v">
                    <div class="chengshi">
                    	
                        <dl>
                            <dt>
                                <img src="__PUBLIC__/img/cityguide/{$v['id']}.gif" alt="{$v['typename']}" />
                            </dt>
                            <dd>
                                <h2 class="chegn_ttitle">
                                <if condition="$city_group">
                                <a href="__APP__/cglist/1000/{$cid}/{$v['typename']|str_to_url}.html">{$v['typename']} <if condition="$cityname">in {$cityname}</if></a>
                                <else/>
                                <a href="__APP__/cglist/{$v['id']}/{$cid}/{$v['typename']|str_to_url}.html">{$v['typename']} <if condition="$cityname">in {$cityname}</if></a>
                                </if>
                                </h2>
                                <if condition="$v['_son']">
                                    <volist name="v['_son']" id="sv">
                                    	<if condition="$city_group">
                                        <a href="__APP__/cglist/1000/{$cid}/{$sv['typename']|str_to_url}.html">{$sv['typename']}</a>
                                        <else/>
                                        <a href="__APP__/cglist/{$sv['id']}/{$cid}/{$sv['typename']|str_to_url}.html">{$sv['typename']}</a>
                                        </if>
                                        | 
                                    </volist>
                                </if>
                            </dd>
                        </dl>
                    </div>
                </volist>
            </if>
        </div>
    </div>
    <div class="main-left">
        <div class="class_tree">
            <include file="Public:classifieds"/>
        </div>
        <div class="class_tree">
            <include file="Public:cityguide"/>
        </div>
        <div class="left_biz">
        	{$ad['left']}
        </div>
    </div>
</div>
<include file="Public:foot" />